package com.mcintyret.site.journal.database;

import com.mcintyret.site.users.OwnedByUser;

import java.io.Serializable;

/**
 * User: mcintyret2
 * Date: 30/03/2012
 */
public class JournalAccessException extends RuntimeException {

    private Serializable id;
    private String username;
    private Class<? extends OwnedByUser> type;

    public JournalAccessException(){

    }

    public JournalAccessException(Serializable id, String username, Class<? extends OwnedByUser> type) {
        this.id = id;
        this.username = username;
        this.type = type;
    }

}
